# !/usr/bin/env python
# -*-coding:utf-8 -*-

"""
# File       : alarm.py
# Time       ：2023/10/15 16:06
# Author     ：author name
# version    ：python 3.10
# Description：日志类
"""
from public.base_model import Base, db


class LoggerInfo(Base):
    __tablename__ = 'logger'

    api_path = db.Column(db.String(64), comment='api路径')
    method = db.Column(db.String(64), comment='请求方法')
    state = db.Column(db.String(64),  comment='日志等级')
    visitor = db.Column(db.String(64), comment='访问人')
    message = db.Column(db.String(64),  comment='日志内容')
